package com.ruoyi.project.system.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 积分明细对象 sys_integral
 * 
 * @author jjp
 * @date 2020-04-27
 */
public class SysIntegral extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long integralId;

    /** $column.columnComment */
    private Long mobileUserId;

    /** 主键id */
    @ApiModelProperty(name = "主键id")
    private Long signId;

    /** 积分明细类型（1为签到则sign_id必有值） */
    private String integralType;

    /** $column.columnComment */
    private double integral;

    public SysIntegral() {
    }

    public SysIntegral(Long mobileUserId, Long signId, String integralType, double integral) {
        this.mobileUserId = mobileUserId;
        this.signId = signId;
        this.integralType = integralType;
        this.integral = integral;
    }

    public void setIntegralId(Long integralId)
    {
        this.integralId = integralId;
    }

    public Long getIntegralId() 
    {
        return integralId;
    }
    public void setMobileUserId(Long mobileUserId) 
    {
        this.mobileUserId = mobileUserId;
    }

    public Long getMobileUserId() 
    {
        return mobileUserId;
    }
    public void setSignId(Long signId) 
    {
        this.signId = signId;
    }

    public Long getSignId() 
    {
        return signId;
    }
    public void setIntegralType(String integralType) 
    {
        this.integralType = integralType;
    }

    public String getIntegralType() 
    {
        return integralType;
    }

    public double getIntegral() {
        return integral;
    }
    public void setIntegral(double integral) {
        this.integral = integral;
    }
}
